package cn.crc.pjblog.pages.test;

import org.apache.tapestry.dom.Document;
import org.apache.tapestry.test.PageTester;
import org.testng.Assert;
import org.testng.annotations.Test;

public class BlogPostOneTest extends Assert {
	
	@Test
	public void BlogPostOneTest1(){
		String appPackage="cn.crc.pjblog";
		String appName="LocaleApp";
		
		PageTester test = new PageTester(appPackage,appName,"src/main/java/");
		Document doc = test.renderPage("BlogPostOne");
		assertEquals(doc.getElementById("log_CateID").getChildText(),"Dinary");	
		
		
	}
}
